slideIn: function() {
this.visible = true;
+ this._updateTranslation();
// we will update slideX and the translation from pageEmpty
},
this.actor.add_actor(this._thumbnailsBox.actor);
Main.layoutManager.connect('monitors-changed', Lang.bind(this, this.updateSlide));
+ Main.overview.connect('hiding', Lang.bind(this, this.slideOut));
this.actor.connect('notify::hover', Lang.bind(this, this.updateSlide));
this._thumbnailsBox.actor.bind_property('visible', this.actor, 'visible', GObject.BindingFlags.SYNC_CREATE);
},
return alwaysZoomOut;
},
+ _onOverviewShowing: function() {
+ this.visible = true;
+ this.layout.slideX = this.getSlide();
+ this.actor.translation_x = this._getTranslation();
+ this.slideIn();
+ },
+
getNonExpandedWidth: function() {
let child = this.actor.get_first_child();
return child.get_theme_node().get_length('visible-width');
this.actor.add_actor(this._dash.actor);
this._dash.connect('icon-size-changed', Lang.bind(this, this.updateSlide));
+ Main.overview.connect('hiding', Lang.bind(this, this.slideOut));
},
getSlide: function() {
return 0;
},
+ _onOverviewShowing: function() {
+ this.visible = true;
+ this.layout.slideX = this.getSlide();
+ this.actor.translation_x = this._getTranslation();
+ this.slideIn();
+ },
+
_onWindowDragBegin: function() {
this.fadeHalf();
},